Skip to content

fixing memory bug in kaldi::~LatticeFasterDecoderTpl(),#2737

Merged
danpovey merged 1 commit intokaldi-asr:masterfrom
KarelVesely84:multithread_decoder_hotfix
Sep 25, 2018
Merged

fixing memory bug in kaldi::~LatticeFasterDecoderTpl(),#2737
danpovey merged 1 commit intokaldi-asr:masterfrom
KarelVesely84:multithread_decoder_hotfix

Conversation

@KarelVesely84
Copy link
Copy Markdown
Contributor

  • found it when running 'latgen-faster-mapped-parallel',
  • core-dumps from the line: decoder/lattice-faster-decoder.cc:52
    -- the line is doing 'delete &(FST*)', i.e. deleting the pointer to FST, instead of deleting the FST itslef,
    -- bug was probably introduced by refactoring commit d0c68a6 from 2018-09-01,
    -- after the change the code runs fine... (the unit tests for src/decoder are missing)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants